<div class="container" ng-controller="LoginCtrl">
    <div class="row">
        <div class="col-md-12">
            <form name="login_form" class="form-signin" ng-submit="login()">
                <legend>
                    <h2>Login</h2>
                </legend>
                <div class="alert alert-error" ng-show="error">Invalid username or password..</div>
                <input required=""
                       name="username"
                       type="text"
                       class="form-control"
                       placeholder="Username"
                       ng-model="username" />
                <input required=""
                       name="password"
                       type="password"
                       class="form-control"
                       placeholder="Password"
                       ng-model="password" />
                <!--
                <label label-default="label-default" class="checkbox">
                    <input type="checkbox"
                           name="remember_me"
                           value="1"
                           ng-model="remember_me" />
                    Remember me
                </label>
                --><!--ng-disabled="!login_form.$valid"-->
                <button
                        class="btn btn-lg btn-primary"
                        type="submit" id="signin">Login
                </button>
                <!-- <a href="#/register">Register</a> -->
            </form>
        </div>
    </div>
</div>